package com.darwin.user_server.controller;

import com.darwin.user_server.entity.User;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class UserService {
    public void insert(User user) {

    }

    public User getUser(Long id) {
        User guojian = new User("guojian", "122");
        return guojian;
    }

    public List<User> listUsersByIds(List<Long> ids) {
        return null;
    }

    public User getByUsername(String username) {
        return null;
    }

    public void delete(Long id) {

    }

    public void update(User user) {

    }
}
